<body onload="test()">
<p>Test for <a href='https://bugs.webkit.org/show_bug.cgi?id=39008'>bug 39008</a>:
Webkit crashes on clicking back button when in hotmail.</p>
<div id="result">Running...</div>
<iframe></iframe>
<script>
if (window.testRunner)
    testRunner.dumpAsText();

function test()
{
    frames[0].document.write("<script>document.close()</scr" + "ipt>");
    document.getElementById('result').innerHTML = "SUCCESS: didn't crash";
}
</script>
